<?php

namespace app\common\model;

use app\common\model\account\ShopAccountModel;
use think\facade\Db;
class ShopImgModel extends CommonModel{

    protected  $name = 'shop_img';

    protected  $pk   = 'id';

    public static function del($where){
        $res=self::where($where)->delete();
        return $res;
    }

    public static function up($data,$where){
        $res=self::update($data,$where);
        return $res;
    }
}

